package com.example.demo05.mapper;

import com.example.demo05.pojo.Clock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo05.pojo.ClockTable;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author anxuan
 * @since 2021-06-19
 */
@Repository
public interface ClockMapper extends BaseMapper<Clock> {
    public List<ClockTable> selectAll();

    public List<ClockTable> selectTem();

    public void newClock(@Param("clock") Clock clock);

    public void setFlag(@Param("clock") Clock clock);

    public void upState();

    public void upFlag();


}
